package com.ht.feign;

import com.ht.data.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "ht-export-outpatient-service")
public interface AppointmentRegisteredFeign {


    @PostMapping("/experts/queryDoctorBydepartmentIdAndStatus/{departmentId}/{status}/{levelId}/{score}")
    public Result queryDoctorBydepartmentIdAndStatus(@PathVariable("departmentId") Long departmentId,@PathVariable("status") Integer status,@PathVariable("levelId") Long levelId,@PathVariable("score")Long score);

    /**
     * 查询所有省
     * @return
     */
    @GetMapping("/experts/queryByProvince")
    Result queryByProvince();

    /**
     * 根据省id查询市
     * @param provinceId
     * @return
     */
    @GetMapping("/experts/queryByCity/{provinceId}")
    Result queryByCity(@PathVariable("provinceId") Long provinceId);
}
